<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  
  <title>第 10 页 | Wentao&#39;s Blog</title>

  
  <meta name="author" content="wentao">
  

  

  

  <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">

  

  <meta property="og:site_name" content="Wentao&#39;s Blog"/>

  
  <meta property="og:image" content="/favicon.ico"/>
  

  <link href="/favicon.ico" rel="icon">
  <link rel="alternate" href="/atom.xml" title="Wentao&#39;s Blog" type="application/atom+xml">
  <link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
</head>


<body>
<div class="blog">
  <div class="content">

    <header>
  <div class="site-branding">
    <h1 class="site-title">
      <a href="/">Wentao&#39;s Blog</a>
    </h1>
    <p class="site-description"></p>
  </div>
  <nav class="site-navigation">
    <ul>
      
        <li><a href="/">主页</a></li>
      
        <li><a href="/archives">归档</a></li>
      
    </ul>
  </nav>
</header>

    <main class="site-main posts-loop">
    
  <article>

  
    
    <h3 class="article-title"><a href="/2011/11/09/how-to-choose-personal-scm/"><span>个人SCM的选择</span></a></h3>
    
  

  <div class="article-top-meta">
    <span class="posted-on">
      <a href="/2011/11/09/how-to-choose-personal-scm/" rel="bookmark">
        <time class="entry-date published" datetime="2011-11-09T12:21:00.000Z">
          2011-11-09
        </time>
      </a>
    </span>
  </div>


  

  <div class="article-content">
    <div class="entry">
      
        <p>自己平时会写一些代码,需要把这些代码管理起来.用svn的话,不太方便.以往的这种集中式的SCM软件,如CVS和SVN.个人用起来还是太麻烦了.svn如果在服务器down掉的情况下简直就是个杯具.自己最近绝大多数时间都是在没有网络的环境里面.那么分布式的代码管理,如GIT和Mercurial的优势就体现出来了.而且他们相对svn都有一个很强势的有点,那就是&quot;快&quot;.</p>
<p>git和Mercurial是现在两个比较主流的DSCM软件了.两者之前的区别,已经有很多人介绍过了.我最终是选择了Mercurial.</p>
<p>原因是因为:</p>
<ul>
<li>对于windows的支持.git在这面比较悲剧,中文log的支持很有问题.没有一个完美的解决办法.</li>
<li>client,git的乌龟完全没有hg的乌龟好用…</li>
<li>git无法和powercmd配合,这个只能说是powercmd的bug,但是,谁让现在主要使用powercmd呢…hg基本无影响.</li>
</ul>
<p>其实最早接触的是git,也很早就在github上放了自己的几个项目.但是,毕竟自己是悲催的C#程序员….无可避免的要经常在windows环境下开发.又不可避免的要写点中文的日志.所以…不过还好,我们有Mercurial,有bitbucket.虽然bitebucket的社交性没有github的强,但是也不错了,个人免费这点挺好的.而且有私有代码库.</p>
<p>文中的软件地址:</p>
<ul>
<li>git:<a href="http://git-scm.com/" target="_blank" rel="external">http://git-scm.com/</a></li>
<li>Mercurial:<a href="http://mercurial.selenic.com/" target="_blank" rel="external">http://mercurial.selenic.com/</a></li>
<li>tortoisehg:<a href="http://tortoisehg.org/" target="_blank" rel="external">http://tortoisehg.org/</a></li>
<li>tortoisegit:<a href="http://code.google.com/p/tortoisegit/" target="_blank" rel="external">http://code.google.com/p/tortoisegit/</a></li>
</ul>

      
    </div>

  </div>

  <div class="article-footer">
    <div class="article-meta pull-left">

    
      

    <span class="post-categories">
      <i class="icon-categories"></i>
        <a href="/categories/Soft/">Soft</a>
    </span>
    

    
    

    <span class="post-tags">
      <i class="icon-tags"></i>
        <a href="/tags/git-hg/">git,hg</a>
    </span>
    

    </div>

    
    <div class="article-meta pull-right">
      <span>
        <i class="icon-comments"></i>
        <span>
          <a href="http://wentao.org/2011/11/09/how-to-choose-personal-scm/#comment">评论</a>
        </span>
      </span>
    </div>
    
  </div>
</article>



  <article>

  
    
    <h3 class="article-title"><a href="/2011/11/08/FML/"><span>FML</span></a></h3>
    
  

  <div class="article-top-meta">
    <span class="posted-on">
      <a href="/2011/11/08/FML/" rel="bookmark">
        <time class="entry-date published" datetime="2011-11-07T21:40:00.000Z">
          2011-11-08
        </time>
      </a>
    </span>
  </div>


  

  <div class="article-content">
    <div class="entry">
      
        <p>来帝都已经一年了,最大的感觉就是这是一个不靠谱的城市.浮躁的人们聚集在一起,就成了这样的一个城市.</p>
<p>唉,感觉有点累了.在西安,在南京的时候,面对的应该都比现在的形式严峻.但是没有这样的感觉.不知道为何,总是有一种莫名的焦虑,努力的往前,不知道前方到底什么样子.有空真想好好休息一下.有时候停下是为了更好的前进了.</p>
<p>打算休息几天,然后继续向前.</p>

      
    </div>

  </div>

  <div class="article-footer">
    <div class="article-meta pull-left">

    
      

    <span class="post-categories">
      <i class="icon-categories"></i>
        <a href="/categories/Life/">Life</a>
    </span>
    

    
    

    <span class="post-tags">
      <i class="icon-tags"></i>
        <a href="/tags/吐槽/">吐槽</a>
    </span>
    

    </div>

    
    <div class="article-meta pull-right">
      <span>
        <i class="icon-comments"></i>
        <span>
          <a href="http://wentao.org/2011/11/08/FML/#comment">评论</a>
        </span>
      </span>
    </div>
    
  </div>
</article>



  <article>

  
    
    <h3 class="article-title"><a href="/2011/11/02/git-and-mercurial-on-lion/"><span>git and mercurial on lion</span></a></h3>
    
  

  <div class="article-top-meta">
    <span class="posted-on">
      <a href="/2011/11/02/git-and-mercurial-on-lion/" rel="bookmark">
        <time class="entry-date published" datetime="2011-11-02T13:29:00.000Z">
          2011-11-02
        </time>
      </a>
    </span>
  </div>


  

  <div class="article-content">
    <div class="entry">
      
        <p>升级到Lion GM以后,git和Mercurial都用不了了.解决办法如下:</p>
<p>git重装一下就可以了.</p>
<p>Mercurial也需要重新安装一下.</p>
<p>然后打开 <code>/usr/local/bin/hg</code></p>
<p><code>sudo vim /usr/local/bin/hg</code></p>
<p>将</p>
<p><code>libdir = '../../platlib/Library/Python/2.6/site-packages/'</code></p>
<p>替换为:</p>
<p><code>libdir = '/Library/Python/2.6/site-packages'</code></p>
<p>即可.</p>
<p>这样的话,两大神器就可以继续使用了.</p>

      
    </div>

  </div>

  <div class="article-footer">
    <div class="article-meta pull-left">

    
      

    <span class="post-categories">
      <i class="icon-categories"></i>
        <a href="/categories/Soft/">Soft</a>
    </span>
    

    
    

    <span class="post-tags">
      <i class="icon-tags"></i>
        <a href="/tags/git-hg-mac/">git,hg,mac</a>
    </span>
    

    </div>

    
    <div class="article-meta pull-right">
      <span>
        <i class="icon-comments"></i>
        <span>
          <a href="http://wentao.org/2011/11/02/git-and-mercurial-on-lion/#comment">评论</a>
        </span>
      </span>
    </div>
    
  </div>
</article>




<nav class="pagination">
  
  <a href="/page/9/" class="pagination-prev">上一页</a>
  
  
</nav>
    </main>

    <footer class="site-footer">
  <p class="site-info">
    Proudly powered by <a href="https://hexo.io/" target="_blank">Hexo</a> and
    Theme by <a href="https://github.com/CodeDaraW/Hacker" target="_blank">Hacker</a>
    </br>
    
    &copy; 2016 wentao
    
  </p>
</footer>
    
  </div>
</div>
</body>
</html>